package com.dongdongqiang.domain.user;

import com.dongdongqiang.common.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;
import java.math.BigDecimal;


/**
* DdqUser 实体类
* by ZZB 2017-09-15 22:17:28
*/
@Table(name = "ddq_user")
public class DdqUser extends BaseEntity {
    @Column(name = "user_name")
    private String userName;
    @Column(name = "password")
    private String password;
    @Column(name = "info_detail")
    private String infoDetail;

    /*----------------------get set 方法----------------------*/
    public String getUserName() {return userName;}
    public void setUserName(String userName){this.userName = userName == null ? null : userName.trim();}
    public String getPassword() {return password;}
    public void setPassword(String password){this.password = password == null ? null : password.trim();}
    public String getInfoDetail() {return infoDetail;}
    public void setInfoDetail(String infoDetail){this.infoDetail = infoDetail == null ? null : infoDetail.trim();}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "DdqUser{" +
        "id='" + getId() + '\'' + ',' + 
        "userName='" + getUserName() + '\'' + ',' + 
        "password='" + getPassword() + '\'' + ',' + 
        "infoDetail='" + getInfoDetail() + '\'' + ',' + 
        "creator='" + getCreator() + '\'' + ',' + 
        "createTime='" + getCreateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
